﻿
using StructType._01.适配器模式;
using StructType._02.桥接模式;
using StructType._03.组合模式.安全式;
using StructType._03.组合模式.透明式;
using StructType._04.装饰模式;
using StructType._05.外观模式;

internal class Program
{
    static void Main(string[] args)
    {
        #region 01.适配器模式
        //AdapterTest adapterTest = new AdapterTest();
        //adapterTest.RunTest();

        //Console.WriteLine("\r\n*****************************\r\n");

        //AdapterTest2 adapterTest2 = new AdapterTest2();
        //adapterTest2.RunTest();
        #endregion

        #region 02.桥接模式
        //BridgeTest bridgeTest = new BridgeTest();
        //bridgeTest.RunTest();
        #endregion

        #region 03.组合模式
        ////透明式
        //TransparentTest transparentTest = new TransparentTest();
        //transparentTest.RunTest();

        //Console.WriteLine("\r\n*****************************\r\n");

        ////安全式
        //SecureTest secureTest = new SecureTest();
        //secureTest.RunTest();

        #endregion

        #region 04.装饰模式
        //DecorateTest decorateTest = new DecorateTest();
        //decorateTest.RunTest();
        #endregion

        #region 05.外观模式
        FacadeTest facadeTest = new FacadeTest();
        facadeTest.RunTest();   
        #endregion
        Console.ReadKey();

    }
}